package edu.yngsxy.wkstudy.core.sys.service.impl;

import edu.yngsxy.wkstudy.core.service.WkBaseService;
import edu.yngsxy.wkstudy.core.sys.dao.SysRoleMapper;
import edu.yngsxy.wkstudy.core.sys.service.SysRoleService;
import edu.yngsxy.wkstudy.core.service.impl.WkBaseServiceImpl;

import edu.yngsxy.wkstudy.core.model.dto.SysRoleDTO;
import edu.yngsxy.wkstudy.core.sys.model.entity.SysRole;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色：存储系统角色 服务实现类
 * </p>
 *
 * @author qyc
 * @since 2025-08-26
 */
@Service
public class SysRoleServiceImpl extends WkBaseServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {

    @Override
    public List<SysRoleDTO> selectAllWithPermissions() {
        return baseMapper.selectAllWithPermissions();
    }
}

